import request from '@/utils/request'

export function getLabourList(data) {
  return request({
    url: '/subcontracting/find',
    method: 'post',
    data
  })
}
export function saveLabourSave(data) {
  return request({
    url: '/subcontracting/save',
    method: 'post',
    data
  })
}
export function delLabour(id) {
  return request({
    url: `/subcontracting/del/${id}`,
    method: 'post',
  })
}